package com.yq.cns.config

import com.fmt.mvi.learn.gobal.log

object LanguageConfig {
    var cnsLanguage = CnsLanguage.CHS
        set(value) {
            "LanguageConfig change to $value".log()
            field = value
        }

    init {
        "LanguageConfig init".log()

    }

    fun isJian():Boolean{
        return cnsLanguage.equals("chs")
    }
}

object CnsLanguage {
    const val CHS = "chs"
    const val CHT = "cht"
}